<?php
class Admin_Form_AddTourStyle extends Apps_Form {
	public function init() {
		$title = new Zend_Form_Element_Text(
				'title',
				array('label' 		=> 'Title (Vi)'));

		$enTitle = new Zend_Form_Element_Text(
				'en_title',
				array('label' 		=> 'Title (En)',
					  'required'	=> true));

		$description = new Zend_Form_Element_Textarea(
				'description',
				array('label' => 'Description',
					  'cols'	=> 80));

		$showHome = new Zend_Form_Element_Select(
		        'show_home',
		        array('label'      => 'Show home',
		              'multiOptions' => array(0 => 'No', 1 => 'Yes')));

		$sortingNumber = new Zend_Form_Element_Text(
		        'sorting_number',
		        array('label'      => 'Sorting number',
		                'class'      => 'input-mini'));

		$metaKeyWord = new Zend_Form_Element_Textarea(
		        'meta_keyword',
		        array('label' 		=> 'Meta keyword',
					  'cols'	=> 80));

		$metaDescription = new Zend_Form_Element_Textarea(
		        'meta_description',
		        array('label' 		=> 'Meta description',
					  'cols'	=> 80));
		$headerTitle = new Zend_Form_Element_Textarea(
		        'header_title',
		        array('label' 		=> 'Header title',
					  'cols'	=> 80));

		$this->setLegend('Add New');
		$this->addElement($enTitle)
			 ->addElement($title)
			 ->addElement($showHome)
			 ->addElement($sortingNumber)
			 ->addElement($description)
			 ->addElement($metaKeyWord)
			 ->addElement($metaDescription)
			 ->addElement($headerTitle);

		$this->addActionGroup()
			 ->makeup();
	}
}